﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace E2_WEBSITE.Code.POWER
{
    public class PowerController
    {
        public List<string> GetListProductByManufactureName(string sManufactureName)
        {
            PowerDataAccess cda = new PowerDataAccess();
            return cda.GetListProductbyManufactureName(sManufactureName);
        }

        public int GetProIDByManuAndProName(string sManuName, string sProductName)
        {
            PowerDataAccess cda = new PowerDataAccess();
            return cda.GetPOWERIDByManufactureNameAndProName(sManuName, sProductName);
        }
    }
}
